home *** CD-ROM | disk | FTP | other *** search
/ Univers Mac Interactif 42 / Univers Mac Interactif - Issue 42.iso / >interactif / Démos Voyager / GOULD.DIR / 00063_Script_63 < prev    next >
Text File  |  1994-11-09  |  735b  |  46 lines

  1. on enterframe
  2.   cursor 200
  3. end
  4. on waitQT chan
  5.   if the movieRate of sprite chan = 1 then go to the frame
  6. end
  7. on waitSound chan
  8.   if  soundbusy(chan) = 1 then go to the frame
  9. end 
  10.  
  11. on myWait theTicks
  12.   set myTicks = theTicks + the ticks
  13.   repeat while (myTicks >= the ticks)
  14.   end repeat
  15. end
  16.  
  17. on startmovie
  18.   --set the stagecolor to 255
  19.   unloadcast
  20.   cursor 200
  21. end
  22.  
  23.  
  24. on QTvolume chan, theLevel
  25.   set the volume of sprite chan to theLevel
  26. end
  27.  
  28. on waiting theTicks
  29.   --must be preceded by startTimer
  30.   repeat while theTicks >= the timer 
  31.     updateStage
  32.   end repeat
  33. end
  34.  
  35.  
  36. on KeyDown
  37.   global autoplaying
  38.   put 0 into autoplaying
  39.   sound stop 1
  40.   sound stop 2
  41.   unloadcast
  42.   play done
  43. end
  44.  
  45.  
  46.